import request from '@/api/request'


//数据列表
export function index(params) {
	return request({ url: '/Cms.Content/index',method: 'post',data: params})
}
//修改排序开关
export function updateExt(params) {
	return request({ url: '/Cms.Content/updateExt',method: 'post',data: params})
}
//添加
export function add(params) {
	return request({ url: '/Cms.Content/add',method: 'post',data: params})
}
//修改
export function update(params) {
	return request({ url: '/Cms.Content/update',method: 'post',data: params})
}
export function getInfo(params) {
	return request({ url: '/Cms.Content/getInfo',method: 'post',data: params})
}
//删除
export function del(params) {
	return request({ url: '/Cms.Content/delete',method: 'post',data: params})
}
//table拖动排序
export function dragtable(params) {
	return request({ url: '/Cms.Content/dragtable',method: 'post',data: params})
}
//获取sql语句定义的字段信息
export function getFieldList(params) {
	return request({ url: '/Cms.Content/getFieldList',method: 'post',data: params})
}

//获取拓展模型
export function getExtend(params) {
	return request({ url: '/Cms.Content/getExtend',method: 'post',data: params})
}

//设置推荐位
export function setPosition(params) {
	return request({ url: '/Cms.Content/setPosition',method: 'post',data: params})
}
